package com.zxx.pattern.templatePattern.template1;

/**
 * @author zxx on 2021/4/9
 */
public class TestTemplate {

    public static void main(String[] args) {
        System.out.println("制作咖啡步骤；");
        BeverageMaker maker = new CoffeeMaker();
        maker.makeBeverage();

        System.out.println("------------------");

        System.out.println("制作茶叶步骤，：");
        BeverageMaker maker1 = new TeaMaker();
        maker1.makeBeverage();
    }

}
